home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
e
/
misc.txt
/
000009_gerberb@zenez.com_Mon Oct 23 08:40:24 2006.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
7KB
Path: reader2.panix.com!reader1.panix.com!panix!newsfeed.media.kyoto-u.ac.jp!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!m7g2000cwm.googlegroups.com!not-for-mail
From: gerberb@zenez.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Running Kermit 3.16 via copSSH on Windows XP or older Windows connected serial devices
Date: 18 Oct 2006 12:10:08 -0700
Organization: http://groups.google.com
Lines: 157
Message-ID: <1161198608.243145.251630@m7g2000cwm.googlegroups.com>
References: <Pine.LNX.4.64.0610171416170.945@xenau.zenez.com>
<slrnejcoo5.e0u.fdc@panix2.panix.com>
NNTP-Posting-Host: 198.60.105.213
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1161198613 26867 127.0.0.1 (18 Oct 2006 19:10:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 18 Oct 2006 19:10:13 +0000 (UTC)
In-Reply-To: <slrnejcoo5.e0u.fdc@panix2.panix.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 SUSE/1.0.5-1.1 SeaMonkey/1.0.5,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: m7g2000cwm.googlegroups.com; posting-host=198.60.105.213;
posting-account=dcuIBwwAAACGYdN6_x6P-BpuEmzQrAjs
Xref: panix comp.protocols.kermit.misc:15579
Frank da Cruz wrote:
> On 2006-10-17, Boyd Lynn Gerber <gerberb@zenez.com> wrote:
.> : I can not seem to remember how I used to do this. The machines
with some
> : version of MS Windows, most have Windows XP. I use kermit to talk with
> : their store registers. The machines have a purchased copy of MS Kermit
> : 3.16.
> :
> For the record: MS-DOS Kermit is just plain not supported on Windows XP. It
> was never intended for that platform. Kermit 95 is the supported Kermit
> software for Windows 95 and later.
They were purchased around the year 2000. +/- a year or two.
> But if the serial-port access works OK (which can happen only on certain
> hardware configurations), fine.
They have been using this setup to talk to their registers since
1992/4. They have used many different version of kermit.
> : ssh 192.168.0.200
> : cd /directory/files
> : ./kermit
> : ...
> :
> : and all the files are downloaded to the machine and I am able to scp them
> : to the remote box or use scp on the remote box to get the files after
> : kermit has run. But I am not able to get my scripts to remotely run
> : kermit to download and then scp the files.
> :
I know kermit can use ssh, So I get the same thing. But to eliminate
scripting errors..
On linux I type kermit
linux-aostester:/zenez/work # kermit
C-Kermit 8.0.211, 10 Apr 2004, for Linux
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/zenez/work/) C-Kermit>
ssh boyd@192.168.5.200
Closing connection
Connecting via command "ssh -e none boyd@192.168.5.200"
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
boyd@192.168.5.200's password:
Last login: Tue Oct 17 12:10:02 2006 from 192.168.5.125
boyd@pos1 ~
$ cd c:/kermit/hbboys/backoffice
boyd@pos1 /cygdrive/c/kermit/hbboys/backoffice
$ ./kermit
IBM-PC MS-DOS Kermit: 3.16 4 May 1999
Copyright (C) Trustees of Columbia University 1982, 1999.
Type ? or HELP for help
MS-DOS Kermit: 3.16 4 May 1999 patch level 0
File name:
File type:
Current path:
KBytes transferred:
Number of packets:
Packet length:
Number of retries: 0
Last error:
Last message:
Receiving: In progress 113 2
12 113 2DATA01.SDFTEXT, Transparent to CP43794
30 451 6789102
....
till all the files are done. The same happens with ssh to the machine.
$ exit
logout
Connection to 192.168.5.200 closed.
Communications disconnect (Back at linux-aostester.aos)
----------------------------------------------------
(/zenez/work/) C-Kermit>ssh boyd@192.168.5.200
c:/kermit/hbboys/backoffice/kermit
Closing connection
Connecting via command "ssh -e none boyd@192.168.5.200
c:/kermit/hbboys/backoffice/kermit"
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
boyd@192.168.5.200's password:
IBM-PC MS-DOS Kermit: 3.16 4 May 1999
Copyright (C) Trustees of Columbia University 1982, 1999.
Type ? or HELP for help
MS-Kermit>^A^A^A
?Text exceeded available buffer capacity
MS-Kermit>
Communications disconnect (Back at linux-aostester.aos)
----------------------------------------------------
(/zenez/work/) C-Kermit>
So I really did not gain anything. It does not matter whether I use
ssh or kermit to talk to the machine I always get the same ...
> :When I try to run ssh -luser 192.168.0.200 c:/kermit/backoffice/kermit
> :
> : user@192.168.5.200's password:
> : IBM-PC MS-DOS Kermit: 3.16 4 May 1999
> : Copyright (C) Trustees of Columbia University 1982, 1999.
> :
> : Type ? or HELP for help
> :
> : MS-Kermit>^A^A^A
> : ?Text exceeded available buffer capacity
> : MS-Kermit>
> :
> Why don't you use Kermit as your ssh client. Then you can script it
> to make the connection to the Windows ssh server, start MS-DOS Kermit
> and interact with it, and then use Kermit protocol to transfer files
> back to where you want them. It's a two-step process but it can all be
> done in a single script.
I tried and I still have the same problem. That is why I thought I
should eliminate kermit ssh to kermit. Some of these machine are still
running DOS with ancient ssh 1 server. I am trying to get them to
replace upgrade all the machines. They will not give up MS OS's on
these machines. I have almost convinced them to buy new machines and
Kermit 95, but they insiston my proving to them over a 90 day test
trial that updated Kermit will work. I see that I can only get a 21
day test trial. Unfortunately on the machine I have available I
demo-ed kermit 95 a year ago and I can not get a new installation to
work. I removed Kermit 95 7 days before the trial was over but I guess
something stays on the machine so I am unable to try it to see if just
replacing the MS Kermit with Kermit 95 will work. They also have the
90 demo mandated. All have the exact same problem trying to automate
them. My original intention was to use kermit for everything. I have
to talk to about 30 different locations all connected via CISCO VPN's
> http://www.columbia.edu/kermit/ssh.html
Thanks,
Boyd Gerber
gerberb@zenez.com